﻿using System;
using System.Collections.Generic;
using System.Linq;
using DLM.Infrastructure.Domain;
using DLM.Domain.Model;
using DLM.Domain.DTO;

namespace DLM.Domain.Repositories
{
    public interface ISalutationRepository : IRepository<Salutation, int>
    {
        IEnumerable<SalutationDTO> FindSalutationByAccount(string accountName, int pageIndex, int pageSize);

        IEnumerable<SalutationDTO> FindConfirmedSalutationByAccount(string accountName, int pageIndex, int pageSize);

        IEnumerable<SalutationDTO> FindMyGreet(string accountName, int pageIndex, int pageSize);

        bool IsGreeted(string account,int greetID);
    }
}
